<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>盒子模型之外边距
    </title>
    <style>
        .one { 
            width: 200px;
            height: 200px;
            background-color:pink
            ;
            /* margin-left: 30px;
            margin-bottom: 20px;
            margin-top: 100px; */
         /* 外边距简写顺时针上右下左 */
            margin:100px 50px 50px 50px;

        }
        /* .one {
            margin-bottom: 20px;
        } */
        .two {
            margin-top: 20px;
        }
    </style>

</head>
<body>
    <div class="one">1</div>
    <!-- <div class="two">2</div> -->

</body>
</html>